-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add make_slides
function for creating ODP presentations from JSON.
#422
Conversation
…entations from JSON slide descriptions.
…ty by creating and checking the existence of an ODP file based on mock JSON data.
Remove the function make_slides from _ai_github_utilities.py . Instead, put a new format_specific_instructions case into the "create_or_modify_file" function. In case the filename ends with .odp, the format_specific_instructions ensure that the output is the json-format the function make_slides expects. Describe the json format in the prompt. After the variable git-bob implement this. |
… .odp files, removing make_slides from this file and ensuring json input for ODP slide creation.
…from JSON. Updated description in `solve_github_issue`.
… to validate its functionality.
This message was generated by git-bob (version: 0.12.1dev, model: gpt-4o-2024-08-06, log), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully. The
|
We cannot use odfpy because it's licensed GPL. |
This message was generated by git-bob (version: 0.12.1dev, model: gpt-4o-2024-08-06, log), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.
In this set of changes, I've implemented a
make_slides
function that converts JSON-encoded descriptions into an ODP presentation. This function has been added to both_ai_github_utilities.py
and_utilities.py
and integrated into thesolve_github_issue
function, allowing users to generate slide decks from GitHub issues. Additionally, I updatedrequirements.txt
to include theodfpy
library necessary for ODP file creation and added a test intest_utilities.py
to validate the functionality of themake_slides
function.src/git_bob/_ai_github_utilities.py Added
make_slides
function and integrated it intosolve_github_issue
.src/git_bob/_utilities.py Added the
make_slides
function to create presentations from JSON slide descriptions.requirements.txt Added
odfpy
to support ODP file creation functionality.tests/test_utilities.py Added a test for the
make_slides
function to ensure it creates an ODP file correctly.closes #421